package com.redpack.quick.service.impl;

import com.redpack.quick.datasource.dao.CompanyDao;
import com.redpack.quick.datasource.entity.CompanyEntity;
import com.redpack.quick.service.ICompany;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by shuttle on 4/2/18.
 */
@Service
public class CompanyImpl implements ICompany {

    @Autowired
    CompanyDao companyDao;

    @Override
    public CompanyEntity save(CompanyEntity entity) {
        return companyDao.save(entity);
    }
}
